package com.ylr.blog.framework.controller.web;

import java.util.Map;

import com.ylr.base.common.tool.Result;
import com.ylr.blog.framework.service.BlogTagRelationService;
import com.ylr.blog.framework.entity.BlogTagRelationEntity;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-18 21:39:06
 * className: BlogTabRelationWebController
 * version: 1.0
 * description:
 */
@RestController
@RequestMapping("/web/blog-tab-relation")
@AllArgsConstructor
public class BlogTabRelationWebController {

    private final BlogTagRelationService blogTagRelationService;

    /**
     * 保存
     */
    @PostMapping("/save")
    public Result<Object> save(@RequestBody BlogTagRelationEntity blogTabRelation){


        return Result.success();
    }

    /**
     * 列表
     */
    @GetMapping("/list")
    public Result<Object> list(@RequestParam Map<String, Object> params){

        return Result.success();
    }


    /**
     * 信息
     */
    @GetMapping("/get")
    public Result<Object> info(@RequestParam("id") Long id){


        return Result.success();
    }


    /**
     * 修改
     */
    @PostMapping("/update")
    public Result<Object> update(@RequestBody BlogTagRelationEntity blogTabRelation){


        return Result.success();
    }

    /**
     * 删除
     */
    @DeleteMapping("/delete")
    public Result<Object> delete(@RequestBody Long[] ids){


        return Result.success();
    }

}
